package com.organ.base.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import lombok.AllArgsConstructor;


@Controller
@AllArgsConstructor
public class AuthController {
	
	@RequestMapping(value="/login",method=RequestMethod.GET)
	public String tologin(ModelMap map){
		return "login";
	}
	@RequestMapping(value="/index",method=RequestMethod.GET)
	public String index(ModelMap map){
		return "index";
	}
	@RequestMapping(value="/home",method=RequestMethod.GET)
	public String home(ModelMap map){
		return "home";
	}
}
